<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
	<HEAD>
		<TITLE> {{$title}} </TITLE>
		<META http-equiv=Cache-Control content=no-store>
		<META http-equiv=Pragma content=no-cache>
		<META http-equiv=Expires content=0>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<META content="户子分享照片的功能, 存储及分享." name=title>
		<META content="全传功, 保护您的照片的安全存储及分享." name=description>
		<META content=免师 name=keywords>
		<LINK href="http://www.yupoo.com/images/favicon.ico" type=image/ico rel="shortcut icon">
		<SCRIPT src="./lib/jquery_last.js" type=text/javascript></SCRIPT>
		<SCRIPT src="./lib/jquery.MultiFile.js" type=text/javascript></SCRIPT>
		<SCRIPT src="./lib/jquery.blockUI.js" type=text/javascript></SCRIPT>
		<SCRIPT src="./lib/maxlength.js" type=text/javascript></SCRIPT>
		<link type="text/css" rel="stylesheet" href="./css/validator.css"></link>
		<LINK media=all href="./css/global.css" type=text/css rel=stylesheet>
		<LINK media=all href="./css/component.css" type=text/css rel=stylesheet>
		<META content="MSHTML 6.00.2900.3395" name=GENERATOR>
		</HEAD>
<BODY>
<div id="header">
	<dl id="globalnav"> 
		<dt id="logo"><a href="index.php"><img src="images/logo.gif"></img></a></dt> 
		<dd id="account-menu">
			<ul class="menu">
				{{if $smarty.session.user_id == 0}}
				<li>你尚未登录</li>
				<li><a href="index.php?m=user&a=login">登录</a></li> 
				{{else}}
				<LI>你好，<A href="index.php?m=profile&a=view">{{$smarty.session.user_name}}</A> </LI>
				<LI id="newpm"><A id=inbox href="index.php?m=pm&a=inbox"></A>({{$smarty.session.newpm}})</LI>
				<LI><A href="index.php?m=photo&a=upload">上传照片</A> </LI>
				<LI class=tail><A href="index.php?m=user&a=logout">退出</A></LI>
				{{/if}}
			</ul>
		</dd>
		<dd id="site-menu">
			<ul id="main-menu" class="drop-menu">
				{{if $smarty.session.user_id == 0}}
				<li id="menu-home" class="selected"><a href="index.php">首页</a></li> 
				<li id="menu-knowmore"><a href="index.php?m=album&a=hot">热门相册</a></li> 
				<li id="menu-group"><a href="index.php?m=photo&a=hot">热门照片</a></li> 
				<li id="menu-explore"><a href="index.php?m=user&a=new_user">最新用户</a></li> 
				<li id="menu-signup"><a href="index.php?m=user&a=register">注册免费帐户</a></li> 
				{{else}}
				<li id="menu-home" class="selected"><a href="index.php">首页</a></li> 
				<li id="menu-group"><a href="index.php?m=profile&a=view">我的主页</a></li> 
				<li id="menu-explore"><a href="index.php?m=album&a=albumlist">我的相册</a></li>
				<li id="menu-knowmore"><a href="index.php?m=album&a=hot">热门相册</a></li> 
				<li id="menu-group"><a href="index.php?m=photo&a=hot">热门照片</a></li> 
				<li id="menu-explore"><a href="index.php?m=user&a=new_user">最新用户</a></li>
				{{/if}}
			</ul> 
		</dd> 
	</dl> 
</div>